<?php
class PublicAction extends Action {
    function _initialize() {
        import("ORG.Util.Session");
        $sessionId = Session::get(C('USER_AUTH_KEY'));
    }
    
    public function login() {
        $this->assign("siteName","BoCMS 轻量CMS系统");
        $this->assign("cssFiles",getCssFiles());
        $this->assign("jsFiles",getJsFiles());
        $this->display("Public:login");
    }
    public function loginajax() {
        $username = $_GET["_URL_"][3];
        if($username == ""){
            echo "请输入用户名！";
        }else if($username != "admin"){
            echo $username."：用户名不存在";
        }
        //dump($_POST);
    }
    public function logins(){
        
    }
    
    public function loginout() {
        
    }
}
?>

